home *** CD-ROM | disk | FTP | other *** search
/ Power Bytes: Money & Finance / PowerBytes Money and Finance CD-ROM 01 / PowerBytes Money and Finance CD-ROM 01.iso / Utilities / RA / RA Samples / Var⁄Ptr⁄Hndl.ra < prev    next >
Encoding:
Text File  |  1986-10-17  |  802 b   |  47 lines  |  [THED/THTH]

  1. |
  2. |   RA¬
  3. |
  4. |    Variables,programs, handles
  5. |
  6. |   ⌐ 1986 COM~LINK & S.Koren
  7. |
  8. #M;
  9. "RA¬ allows you use variables when!"
  10. "writing programs.  However, it!"
  11. "only allows you to have 26 variables.!"
  12. "A thru Z. All variables are global!"
  13. "unless they are withing a subroutine.!"
  14. "RA however supports indirection.!!"
  15. #A;
  16. 2 A: "Variable 'A' has " A. ! " in it.!"
  17. A. B: "B has "  B. ! " in it.!"
  18. 12 C: "C has "  C. ! " in it.!"
  19. "B is actually a pointer to C.!"
  20. "B.. has " B.. ! " in it .!!"
  21. #A;
  22. "THE END."  
  23.  
  24.  
  25. $
  26. &A  "Hit any key:" ?ñ ╡ @ `
  27. |
  28. |  RA title routine
  29. |
  30. &M @ #L; 8 A: ( #N; A. 1 - A: A. 0 > ~ ) #L; #O; #P;`
  31.  
  32. &O
  33. 40 100 ╜
  34. "RA¬"
  35. 60 45 ╜ 
  36. "⌐ 1986 COM~LINK & S.Koren" 
  37. 80 60 ╜
  38. "All rights reserved." `
  39.  
  40. &L
  41. 35 A: ("Ñ" A. 1 - A: A. 0 > ~ ) "!"`
  42.  
  43. &N
  44. "Ñ" 33 A: (" " A. 1 - A: A. 0 > ~ ) "Ñ" "!"`
  45.  
  46. &P ?ñ @ `
  47. $